package com.eastdigit.system.inter;

import com.eastdigit.system.model.User;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUserCode(String userCode);

    List<User> selectUserOfDepts(@Param("deptIds") List<String> deptIds);

}
